package cn.funeralobjects.asms.service;

import cn.funeralobjects.asms.entity.ESmsSendRecord;
import cn.funeralobjects.asms.model.SmsSendRecord;
import cn.funeralobjects.common.service.AddService;
import cn.funeralobjects.common.service.EntityService;
import cn.funeralobjects.common.service.NameService;

import java.util.List;

/**
 * Service of SmsSendRecord
 *
 * @author FuneralObjects
 * Create date: 2020/5/31 10:47 PM
 */
public interface SmsSendRecordService extends AddService<SmsSendRecord, ESmsSendRecord>, EntityService<ESmsSendRecord, Integer>, NameService<ESmsSendRecord, Integer> {
    String ENTITY_NAME = "SmsSendRecord";

    /**
     * 批量添加数据
     *
     * @param sendRecords 发送短信数据
     * @return 已保存的记录数据
     */
    List<ESmsSendRecord> addInBatch(List<SmsSendRecord> sendRecords);
}
